<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=@page_title%></title>
    <link rel="icon" href="<%=$image_server_url%>/images/favicon.ico" type="image/x-icon" >
      <%= stylesheet_link_tag 'style', :media => 'all' %>
      <%= javascript_include_tag :defaults %>
      <%= javascript_include_tag "jquery.validate.js" %>
      <%= javascript_include_tag "tools.js" %>
      <%= stylesheet_link_tag 'facebox', :media => 'all' %>
      <%= javascript_include_tag "facebox.js" %>
  </head>
  <body>
    <div  id="wrapper">
      <%= render(:partial => "common/header")   %>
      <%= @content_for_layout %>
      <%if RAILS_ENV == 'production'%>
        <%= javascript_include_tag "webanalytics.js" %>
      <%end%>
      <%= render(:partial => "common/footer")   %>
    </div>
  </body>
</html>
